//
//  xesAppSpeechAssessment.h
//  TestWeb
//
//  Created by tianlong on 2018/8/10.
//  Copyright © 2018年 tianlong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WXJSObject.h"

@protocol xesAppSpeechAssessmentDelegate <JSExport>
/** 播放语音 */
- (void)playVoice:(NSString *)url;

/** 暂停播放接口 */
- (void)pauseVoice:(NSString *)url;

/** 停止播放接口 */
- (void)stopVoice:(NSString *)url;

/** 手动暂停识别 */
- (void)stopTranslateVoice;

/** 重新提交测评 */
- (void)reTranslateVoice;

/** 识别音频并返回识别结果接口,多参数 */
- (NSString *)translateVoice:(id)obj;
@end

@interface xesAppSpeechAssessment : WXJSObject<xesAppSpeechAssessmentDelegate>

@end
